OrganizicaDesktop: ProfileDocument class
|
By: Paul S Cilwa |
Posted: 8/3/2018 |
Unpublished |
Page Views: 2 |
| Hashtags: #Computers #Programming #Organizica #VBNET |
| A derived Document class to read .INI files. |
| Estimated reading time: 4 minute(s) (813 words) |
When Windows was first introduced, in included a feature then called ".INI"
files. These "initialization files" stored user preferences for an application, such
as whether or not to display a menu, or what color they want borders to be. Later, the name
was changed to "profiles", and then to "private profiles". Finally,
the functionality was moved to the System Registry. But the underlying code to parse the values
in a profile remains (albeit at an unusually low level); and the files themselves are trivial
to create (via Notepad, for example). In addition, since they are associated with a folder that
contains them (as Registry entries are not), they actually lend themselves to providing folder
information to Organizica.
In this chapter, then, we shall derive a class from last chapter's Document class,
to deal with this type of file.